import { createApp } from 'vue'
import App from './App.vue'

const createMyApp = () => createApp(App)

let instance = undefined
function render(props = {}) {
  const { container } = props;
  instance = createMyApp()
  instance.mount(container ? container.querySelector('#app') : '#app')
}

render()